isAxisSupported

Checks whether a given velocity-trackable MotionEvent axis is supported for velocity tracking by this VelocityTracker instance (refer to getAxisVelocity for a list of potentially velocity-trackable axes).

Note that the value returned from this method will stay the same for a given instance, so a single check for axis support is enough per a VelocityTracker instance.

Return

true if axis is supported for velocity tracking, or false otherwise.

Parameters

tracker

The VelocityTracker for which to check axis support.

axis

The axis to check for velocity support.

See also